package com.itheima.tlias84.servrce;


import com.itheima.tlias84.dto.SelectEmpDTO;
import com.itheima.tlias84.dto.SelectEmpDetailDTO;
import com.itheima.tlias84.po.InsertEmpParam;
import com.itheima.tlias84.po.SelectEmpPageParam;
import com.itheima.tlias84.po.updateEmpParam;
import com.itheima.tlias84.utils.ResultUtil;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmpService {
    ResultUtil selectEmpByPage(SelectEmpPageParam param);

    int deleteEmpById(List<Integer> ids);

    int insertEmp(InsertEmpParam param);

    SelectEmpDetailDTO selectEmpById( Integer id);

    int updateEmp(updateEmpParam param);

    List<SelectEmpDTO> selectEmpList();

    ResultUtil empJobData();

}
